#pragma once
#include <iostream>
#include <vector>
#include <deque>
#include <map>
#include "Speaker.h"
#include <algorithm>
#include <numeric>
#include <fstream>
#include <cstdlib>
#include <ctime>

using namespace std;
class SpeechContest
{
	int rowIndex = 0;
	vector<Speaker> speakers;
	vector<vector<Speaker>> history;

	void showMenu();
	void randomSpeakers();
	void loadFromFile();
	void showHistory();
	void init();
	void startSpeak();
	void showFinalResult();
	void start();
	void saveResult();
	void clear();
public:
	SpeechContest();
	~SpeechContest();
	void work();
};

